package com.gitee.dupe.authority.config;

import com.gitee.dupe.authority.extend.AuthorityCustomOperate;
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @author LYH
 */
@Configuration
public class AuthorityConfiguration {
    @Bean
    @ConditionalOnMissingBean
    public AuthorityCustomOperate defaultAuthorityCustomOperate() {
        return new AuthorityCustomOperate() {{
        }};
    }
}
